import java.awt.Color;
import java.awt.Graphics;

import becker.robots.City;
import becker.robots.Direction;
import becker.robots.Thing;
import becker.robots.icons.Icon;

/* Programmers: Abubakr
 * Date Created: Feb.27, 2012
 * Date Modified: Feb.27, 2012
 * Class Name: FinishLine
 * Class Description: Extends the Thing class to create a new Thing that will look like
 * 					  a finish line.
 */

public class FinishLine extends Thing {
	static FinishIcon finishIcon = new FinishIcon();	//The finish line icon, will be used to 
														//create the FinishLine.

	//Creates a new FinishLine in the specified city, street, avenue and orientation.
	public FinishLine(City aCity, int aStreet, int anAvenue,
			Direction orientation) {
		//The super method creates the FinishLine object by calling the Thing class
		//but additionally sets the object to be unpickable and sets its icon to a finish line.
		super(aCity, aStreet, anAvenue, orientation, false, finishIcon);
		
	}	
}
